<?php
if (!(isset($_GET["acordeon"]))) {
$this->breadcrumbs = array(
	$model->label(2) => array('index'),
	GxHtml::valueEx($model),
);
}
$this->menu=array(
	array('label'=>Yii::t('app', 'Listar') . ' ' . $model->label(2), 'url'=>array('index')),
	array('label'=>Yii::t('app', 'Crear') . ' ' . $model->label(), 'url'=>array('create')),
	array('label'=>Yii::t('app', 'Administrar') . ' ' . $model->label(2), 'url'=>array('admin')),
);
?>

<h1><?php echo Yii::t('app', 'Ordenar') . ' ' . GxHtml::encode($model->label(2)) . ' ' . GxHtml::encode(GxHtml::valueEx($model)); ?></h1>

<?php
    ModulosController::actioncargar_lista(0);
    echo '<div  class="center-submit" >'.GxHtml::button(Yii::t('app', 'Guardar Cambios'), array('class'=>'add_input', 'onclick'=>'save_order(3,0);'))."</div>";
?>
<script type="text/javascript">
<?php if ((isset($_GET["acordeon"]))) { ?>
        $(document).ready(function(){
            ajustaIframeyDiv(<?php echo $_GET["acordeon"]; ?>);
        }); //fin $(document).ready(function(){
<?php } ?>
</script>
